/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TestUmgebung;

import DataLayer.*;
import Objects.Game;
import java.util.ArrayList;

/**
 *
 * @author Philipp
 */
public class dalTester {

    public static void main(String[] args) throws Exception {

        ArrayList<Game> antwort = new ArrayList<Game>();

        dbDal meinDal = new dbDal();
        antwort = meinDal.getGameList("playboxuser", "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3");
        for (Game game : antwort) {
            System.out.println(game.getName() + " | " + game.getId());
        }
        System.out.println();

        antwort = meinDal.getMyGames("playboxuser");
        for (Game game : antwort) {
            System.out.println(game.getName() + " | " + game.getId());
        }


    }
}
